package org.zjx.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("waypoint")
public class Waypoint implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 传送点表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *  传送类型
     */
    @TableField("type")
    private String type;

    /**
     *  传送起点坐标—X
     */
    @TableField("start_point_x")
    private Integer startPointX;

    /**
     *  传送起点坐标—Y
     */
    @TableField("start_point_y")
    private Integer startPointY;

    /**
     *  传送点点击坐标—X
     */
    @TableField("aperture_x")
    private Integer apertureX;

    /**
     *  传送点点击坐标—Y
     */
    @TableField("aperture_y")
    private Integer apertureY;

    /**
     * 起点场景名称
     */
    @TableField("start_note")
    private String startNote;

    /**
     * 目标点场景名称
     */
    @TableField("end_note")
    private String endNote;

    /**
     *  传送目标点点位-X
     */
    @TableField("end_point_x")
    private Integer endPointX;

    /**
     *  传送目标点点位-Y
     */
    @TableField("end_point_y")
    private Integer endPointY;

    /**
     *  传送的目的地是否房间 false不是 true是
     */
    @TableField("room")
    private String room;

    /**
     *  如果是NPC 对话 npc编号
     */
    @TableField("npc_id")
    private Long npcId;


    /**
     *  如果是NPC 对话
     */
    @TableField("dialogues")
    private String dialogues;
}
